package com.example.shardingsphere.controller.param;

import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = true)
public class UserPasswordLoginParam extends UserLoginParam{

    /**
     * 用户名
     */
    @NotBlank(message = "用户名不能为空！")
    private String loginName;

    /**
     * 密码
     */
    @NotBlank(message = "登录密码不能为空！")
    private String password;
}